import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/admin/LoginView.vue')
    },
    {
      path: '/Add',
      name: 'Add',
      component: () => import('../views/memdian/AddView.vue')
    },
    {
      path: '/Show',
      name: 'Show',
      component: () => import('../views/memdian/ShowView.vue')
    },
    {
      path: '/Radd',
      name: 'Radd',
      component: () => import('../views/youhui/AddView.vue')
    },
    {
      path: '/Rshow',
      name: 'Rshow',
      component: () => import('../views/youhui/ShowView.vue')
    }
  ]
})

export default router
